<template>
  <div class="m-header">
    <side-bar ref="sideBar"></side-bar>
<<<<<<< HEAD
    <i @click="showMenu" class="icomoon icomoon-menu"></i>
    <div class="icon"></div>
    <div class="text">Gsan Music</div>
    <router-link to="/user" class="mine" tag="div">
      <i class="icon-mine"></i>
=======
    <i @click="showMenu" class="menu icon-menu"></i>
    <div class="icon"></div>
    <div class="text">Gsan Music</div>
    <router-link to="/user" class="mine" tag="div">
      <i class="icon-zuijinplay"></i>
>>>>>>> 8b4cd6a8df161489fb2e4067a3732463717b4b9c
    </router-link>
  </div>
</template>

<script>
import SideBar from 'components/side-bar/side-bar'

export default {
  components: {
    SideBar
  },
  methods: {
    showMenu() {
      this.$refs.sideBar.show()
    }
  }
};
</script>

<style scoped lang="stylus" rel=stylesheet/stylus>
@import '~common/stylus/variable';
@import '~common/stylus/mixin';
<<<<<<< HEAD
@import '~common/fonts/font-icon/style.css'
=======
@import '~common/fonts/font-icon/style.css';
>>>>>>> 8b4cd6a8df161489fb2e4067a3732463717b4b9c

.m-header {
  position: relative;
  height: 44px;
  text-align: center;
  color: $color-theme;
  font-size: 0;

  .icon {
    display: inline-block;
    vertical-align: top;
    margin-top: 6px;
    width: 30px;
    height: 32px;
    margin-right: 9px;
    bg-image('logo');
    background-size: 30px 32px;
  }

<<<<<<< HEAD
  .icomoon-menu {
=======
  .menu {
>>>>>>> 8b4cd6a8df161489fb2e4067a3732463717b4b9c
    font-size: 26px;
    position: absolute;
    left: 16px;
    top: 10px;
  }

  .text {
    display: inline-block;
    vertical-align: top;
    line-height: 44px;
    font-size: $font-size-large;
  }

  .mine {
    position: absolute;
    top: 0;
    right: 0;

    .icon-zuijinplay {
      display: block;
      padding: 10px 16px;
<<<<<<< HEAD
      font-size: 20px;
=======
      font-size: 24px;
>>>>>>> 8b4cd6a8df161489fb2e4067a3732463717b4b9c
      color: $color-theme;
    }
  }
}
</style>
